package com.bingxue.edu.common.enums;

import com.bingxue.edu.framework.enums.Dict;
import com.bingxue.edu.framework.enums.DictEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import com.mybatisflex.annotation.EnumValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 班级分类
 * @author panbo
 * @since 2024/8/1
 */
@Getter
@RequiredArgsConstructor
@Dict("班级类型")
public enum ClassCategoryEnum implements DictEnum<Integer> {

    LONG_TERM_CLASS(1, "长期班", "blue"),
    SHORT_TERM_CLASS(2, "短期班", "green"),
    PUBLIC_CLASS(3, "公开课", "cyan"),
    EXAM_CLASS(4, "考试课", "orange"),
    ;

    @JsonValue
    @EnumValue
    private final Integer value;
    private final String label;
    private final String color;
}
